package org.example.menu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.menu.domain.Menu;
import org.example.menu.domain.RoleMenu;
import org.example.menu.mapper.RoleMenuMapper;
import org.example.menu.service.RoleMenuService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @author Lenovo
 * @description 针对表【sys_role_menu】的数据库操作Service实现
 * @createDate 2024-06-20 16:57:22
 */
@Service
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu>
        implements RoleMenuService {


    @Override
    public ArrayList<Menu> getMenus(Integer uid) {
        return baseMapper.getMenus(uid);
    }
}




